package com.tm.mholmu.db;

import java.util.Comparator;


public class SkillComparator implements Comparator<SkillBar>{

	@Override
	public int compare(SkillBar lhs, SkillBar rhs) {
		// TODO 自动生成的方法存根
		if (lhs.getsun()>rhs.getsun()) {
			return 1;
		}else if (lhs.getsun()<rhs.getsun()) {
			return -1;
		}else {
			return 0;
		}
	}

	

}
